export function checkImageURL(url) {
  return new Promise((resolve, reject) => {
    const img = new Image();
    img.onload = () => resolve(true); // 图片加载成功
    img.onerror = () => resolve(false); // 图片加载失败
    img.src = url;
  });
}
